<style>
    .delBtn{
        background-color: #fff;
        border-color: #fff;
        color:#c1c1c1;
    }
    .delBtn:hover{
        background-color: #6b6b6b;
        color:#fff;
    }
    .tree-folder{
        clear: both;
        background: none;
    }
    .tree-folder-open{
        clear: both;
        background: none;
    }
    .fa{
        margin-top: 3px;
    }
    .tree-file{
        clear: both;
        background: none;
    }
    .combo{
        border-radius:4px
    }
    .srcollDiv {
        overflow-y: auto;
        width: 100%;
    }
</style>
<script>
    {% if info is defined %}
        var info = {{ info | json_encode }};
    {% else %}
        var info = null;
    {% endif %}
</script>
<div class="col-sm-12">
    <div class="col-sm-6" style="padding: 0px;">
        <div class="srcollDiv">
            <form id="xh_form" class="xh-form"  method="post"    style="margin-left: 20px;">
                <div class="xh-area-form">
                    <table>
                        <tr>
                            <td style="width: 75px"><label>申请部门</label></td>
                            <td style="width: 200px">
                                <input name="sDepName" type="text" value="{{ staff['sDepName'] }}" readonly >
                            </td>
                            <td style="width: 75px"><label>申请人</label></td>
                            <td><input name="sApplyName"  type="text" value="{{ staff['sStaffName'] }}" readonly>
                                <input name="iUMRId" type="hidden">
                                <input name="iDepId" type="hidden" value="{{ staff['iDepId'] }}">
                                <input name="iStaffId" type="hidden" value="{{ staff['iStaffId'] }}">
                            </td>
                        </tr>
                        <tr>
                            <td><label>开始时间</label></td>
                            <td><input class="dateTime" name="tStartTime" readonly type="text" autocomplete="off"></td>
                            <td><label>结束时间</label></td>
                            <td><input class="dateTime" name="tEndTime"  readonly  type="text" autocomplete="off"></td>
                        </tr>
                        <tr>
                            <td><label>会议室</label></td>
                            <td colspan="3"><select name="iMeetingRoom">
                                    <option value="0" selected style="display: none">请选择</option>
                                    {% for id,text in rooms %}
                                        <option value="{{ id }}">{{ text }}</option>
                                    {% endfor %}
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td><label>会议名称</label></td>
                            <td colspan="3">
                                <input type="text" name="sTitle" placeholder="尽量简短，不超过100字">
                            </td>
                        </tr>
                        <tr>
                            <td><label>参与人员</label></td>
                            <td colspan="2" style="padding-right: 0px;">
                                <input id="mParticipant"  />
                            </td>
                            <td style="padding-right: 20px;">
                                <input id="searchText" placeholder="姓名电话搜索职工">
                            </td>
                        </tr>
                        <tr>
                            <td><label>会议内容</label></td>
                            <td colspan="3"><textarea name="mContent" type="text" rows="2"></textarea></td>
                        </tr>
                        <tr>
                            <td><label>是否短信通知</label></td>
                            <td>
                                <select name="bSendSms" >
                                    <option value="0" selected>否</option>
                                    <option value="1">是</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label>内容附件</label>
                                <a class="uploadBtn btn-xs" nodeType="mConFiles">上传</a>
                            </td>
                            <td colspan="3">
                                <div id="mConFiles" class="fileList" style="height: 80px;margin: 10px;max-width: 300px;">
                                    <ul class=" m-top-sm clearfix " style="list-style: none">

                                    </ul>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td><label>会议纪要</label></td>
                            <td colspan="3"><textarea name="mSummary" type="text" rows="2"></textarea></td>
                        </tr>
                        <tr>
                            <td>
                                <label>纪要附件</label>
                                <a class="uploadBtn btn-xs" nodeType="mSumFiles">上传</a>
                            </td>
                            <td colspan="3">
                                <div id="mSumFiles" class="fileList" style="height: 80px;margin: 10px;max-width: 300px;">
                                    <ul class=" m-top-sm clearfix " style="list-style: none">

                                    </ul>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <input id="file" type="file" style="display: none">
                            </td>
                            <td>
                                {% if power is defined %}
                                    {% if power %}
                                        <a id="saveBtn" class="btn btn-success">保存</a>
                                    {% endif %}
                                    {% else %}
                                        <a id="saveBtn" class="btn btn-success">保存</a>
                                {% endif %}
                                <a id="retBtn" class="btn btn-default">返回</a>
                            </td>
                        </tr>
                    </table>
                </div>
            </form>
        </div>

    </div>
    <div class="col-sm-6" style="height: 600px;">
        <iframe name="scheduleFrame"  style="width: 100%;;border-style: none;padding: 0px;height:100%"  scrolling="no"></iframe>
    </div>
</div>
